package com.tyk.bookstore.back.task.model.constant;


/**
 * @author tyk
 * @description 定时任务参数校验规则
 */
public class TaskValidateConstant {

    /**
     * 名称
     */
    public static final int NAME_MIN_LENGTH = 1;
    public static final int NAME_MAX_LENGTH = 2048;
    public static final String NAME_REGEXP = ".*";

    /**
     * 模块
     */
    public static final int MODULE_MIN_LENGTH = 1;
    public static final int MODULE_MAX_LENGTH = 2048;
    public static final String MODULE_REGEXP = ".*";

    /**
     * 方法
     */
    public static final int METHOD_MIN_LENGTH = 1;
    public static final int METHOD_MAX_LENGTH = 2048;
    public static final String METHOD_REGEXP = ".*";

    /**
     * Cron表达式
     */
    public static final int CRON_MIN_LENGTH = 1;
    public static final int CRON_MAX_LENGTH = 2048;
    public static final String CRON_REGEXP = ".*";

    /**
     * 描述
     */
    public static final int DESCRIPTION_MIN_LENGTH = 1;
    public static final int DESCRIPTION_MAX_LENGTH = 2048;
    public static final String DESCRIPTION_REGEXP = ".*";

}
